package com.springbootcache;

/**
 */
public class ServerAddress {

    private String host;

    private int port;

    private String weight;

    private String initConn;

    private String minConn;

    private String maxConn;

    public ServerAddress(){

    }

    public ServerAddress(String host,int port){
        this.host = host;
        this.port = port;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getInitConn() {
        return initConn;
    }

    public void setInitConn(String initConn) {
        this.initConn = initConn;
    }

    public String getMinConn() {
        return minConn;
    }

    public void setMinConn(String minConn) {
        this.minConn = minConn;
    }

    public String getMaxConn() {
        return maxConn;
    }

    public void setMaxConn(String maxConn) {
        this.maxConn = maxConn;
    }



}
